package com.yc.healthy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyl
 * @since 2023-03-08
 */
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "aid", type = IdType.AUTO)
      private Integer aid;

    private String author;

    private String message;

    private String atime;

    private String aimg;

    private String aname;


    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getAtime() {
        return atime;
    }

    public void setAtime(String atime) {
        this.atime = atime;
    }

    public String getAimg() {
        return aimg;
    }

    public void setAimg(String aimg) {
        this.aimg = aimg;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    @Override
    public String toString() {
        return "Article{" +
                "aid=" + aid +
                ", author='" + author + '\'' +
                ", message='" + message + '\'' +
                ", atime='" + atime + '\'' +
                ", aimg='" + aimg + '\'' +
                ", aname='" + aname + '\'' +
                '}';
    }
}
